package com.freeter.modules.gjs.service;

import com.freeter.modules.gjs.entity.UsersSites;
import java.util.List;

public interface UsersSitesService {
    List<UsersSites> getAllUsersSites();
    UsersSites getUsersSitesById(Long id);
    List<UsersSites> getUsersSitesByUserId(Long userId);
    List<UsersSites> getUsersSitesBySiteCode(String siteCode);
    UsersSites getUsersSitesByUserAndSite(Long userId, String siteCode);
    UsersSites createUsersSites(UsersSites usersSites);
    UsersSites updateUsersSites(Long id, UsersSites usersSites);
    void deleteUsersSites(Long id);
    void deleteUsersSitesByUserAndSite(Long userId, String siteCode);
    List<UsersSites> getUsersSitesByStatus(String status);
    List<UsersSites> getUsersSitesByCondition(String name, Integer state);
} 